package com.seeyon.apps.zhiwei.nbtest;

import cn.hutool.core.date.DateUtil;
import com.seeyon.apps.zhiwei.nbtest.eventlisteners.NbtestEvent;
import com.seeyon.ctp.common.AbstractSystemInitializer;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

import java.util.Date;
import java.util.Timer;
import java.util.TimerTask;
import java.util.concurrent.ConcurrentHashMap;

@Slf4j
// 相当于 private final Logger logger = LoggerFactory.getLogger(当前类名.class); 所以下面直接可以使用log.info 打印日志

@Setter
public class PluginInit extends AbstractSystemInitializer{
    public static String U8_ServerUrl = "https://localhost:7688/TGCtrlApi";

    public static String name = "nbtest";
    private String env;

    @Override
    //打印日志
    public void initialize() {
        log.info("加载"+name+"插件");

    }

    @Override
    public void destroy() {
        log.info("销毁"+name+"插件");
    }













}
